#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>

       int sigaction(int signum, const struct sigaction *act,
                     struct sigaction *oldact);

void TermReplace(int _signum)
{
    printf("Nannannannnnanana\n");
}

int main()
{
    struct sigaction sa;
    struct sigaction sa1;

    sa.sa_handler = TermReplace;

    sigaction(SIGINT, &sa ,
                     &sa1);

    sleep(10);
    printf("TTTTTT\n");
    printf("Hello world!\n");
    return 0;
}
